package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序原料对象 proce_mtr
 *
 * @author LongAndHao
 * @date 2023-04-04
 */
public class ProceMtr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 工艺编号 */
    private String tecCode;

    /** 工序ID */
    @Excel(name = "工序ID")
    private Long proceId;

    /** 物料ID */
    @Excel(name = "物料ID")
    private Long mtrId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String mtrCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String mtrName;

    /** 物料数量 */
    @Excel(name = "物料数量")
    private Long mtrQuantity;

    public String getMtrCode() {
        return mtrCode;
    }

    public void setMtrCode(String mtrCode) {
        this.mtrCode = mtrCode;
    }

    public String getTecCode() {
        return tecCode;
    }

    public void setTecCode(String tecCode) {
        this.tecCode = tecCode;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProceId(Long proceId)
    {
        this.proceId = proceId;
    }

    public Long getProceId()
    {
        return proceId;
    }
    public void setMtrId(Long mtrId)
    {
        this.mtrId = mtrId;
    }

    public Long getMtrId()
    {
        return mtrId;
    }
    public void setMtrName(String mtrName)
    {
        this.mtrName = mtrName;
    }

    public String getMtrName()
    {
        return mtrName;
    }
    public void setMtrQuantity(Long mtrQuantity)
    {
        this.mtrQuantity = mtrQuantity;
    }

    public Long getMtrQuantity()
    {
        return mtrQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proceId", getProceId())
            .append("mtrId", getMtrId())
            .append("mtrName", getMtrName())
            .append("mtrQuantity", getMtrQuantity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
